package edu.vsu.amm.chaos.api;

/**
 * User: Илья
 * Date: 10.11.13
 * Time: 16:15
 */
public class Parameters {

	private double a;
	private double b;
	private double x0;
	private double y0;
	private double iterationsThousands;

	public double getA() {
		return a;
	}

	public void setA(double a) {
		this.a = a;
	}

	public double getB() {
		return b;
	}

	public void setB(double b) {
		this.b = b;
	}

	public double getX0() {
		return x0;
	}

	public void setX0(double x0) {
		this.x0 = x0;
	}

	public double getY0() {
		return y0;
	}

	public void setY0(double y0) {
		this.y0 = y0;
	}

	public int getIterations() {
		return (int) Math.round(iterationsThousands * 1e+3);
	}

	public void setIterationsThousands(double iterationsThousands) {
		this.iterationsThousands = iterationsThousands;
	}
}
